Address
public final static Address Address(String countryCode, String streetAddress, String city, String state, String zipCode, String dependentLocality)
public final static Address Address(String countryCode, String streetAddress, String city, String state, String zipCode, String dependentLocality)
Creates a new instance of Address with the given parameters.
Since
8.0.0
Parameters
country Code
The 2-letter country code.
street Address
The full street address.
city
The name of the city.
state
The name of the state.
zip Code
The zip code.
dependent Locality
A subdivision of a city, e.g., an inner-city district or a suburb.
Throws
if the length of countryCode is not two.